home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1991
/
06
/
alib
/
strlenz.asm
< prev
next >
Wrap
Assembly Source File
|
1991-08-21
|
262b
|
25 lines
include asm.inc
public strlenz
.code
;; strlenz
;
; entry DS:SI string
; exit CX byte count including NULL
; uses AX
;
strlenz proc
push si
movx cx,0
slz1: inc cx
lodsb
cmp al,NULL_CHAR
jne slz1
pop si
ret
strlenz endp
end